#!/bin/sh
cd /data/data/com.termux/files/home/file-storage

git pull

case "$1" in

  -s) msg="Stand by"; tiny11=0;;

  -w) msg="Wake up"; tiny11=1;;

  *) msg="Invalid argument"; tiny11=0;;

esac

echo $tiny11 > tiny11

git add *
git commit -m "$msg"
git push
